package net.simflow.swf.analyzer.exec.data;

import java.util.HashSet;

import net.simflow.swf.analyzer.network.data.Node;

public class NodeTask {
	private int id;
	private int flowStartTime;
	private int flowDeadline;
	private HashSet<Node> parentNodeDataSet;
	private HashSet<Node> parentNodeControlSet;

	public NodeTask(int id, int flowStartTime, int flowDeadline) {
		this.id = id;
		this.flowStartTime = flowStartTime;
		this.flowDeadline = flowDeadline;
		parentNodeDataSet = new HashSet<Node>();
		parentNodeControlSet = new HashSet<Node>();
	}

	public int getId() {
		return id;
	}

	public int getFlowStartTime() {
		return flowStartTime;
	}

	public int getFlowDeadline() {
		return flowDeadline;
	}

	public HashSet<Node> getParentNodeDataSet() {
		return parentNodeDataSet;
	}

	public HashSet<Node> getParentNodeControlSet() {
		return parentNodeControlSet;
	}
}
